[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
twNthOccur( cSource, cTarget, nWhich, lCase )
----------------------------------------------------------------------------
Find the position of the Nth occurrence of a string in a target
string.
Arguments:
cSource - 'C' String to search for.
cTarget - 'C' String to search.
nWhich - 'N' Number of the occurrence to find.
lCase - 'L' Logical for case sensitive search. The default is
.F.
Return:
The position in the string cTarget of the nth
occurrence of cSource or zero if not found.
Example:
twNthOccur( "ab", "abracadabra", 2 ) -> 8
See Also:
twNoOccurs()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson